<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><spring:message code="system.name" /></title>

    <link rel="stylesheet" href="${ctx}/assets/stylesheets/OpenSans.css" />
    <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" href="${ctx}/assets/lib/font-awesome/css/font-awesome.css" />
    <link rel="stylesheet" href="${ctx}/assets/stylesheets/theme.css" />
    <link rel="stylesheet" href="${ctx}/assets/stylesheets/premium.css" />

    <script src="${ctx}/assets/lib/jquery-1.11.1.min.js" />
    <script src="${ctx}/assets/lib/bootstrap/js/bootstrap.js" />
</head>
<body class="theme-blue">
<style type="text/css">
    .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
        color: #fff;
    }
</style>
<script type="text/javascript">
    $(function() {
        var uls = $('.sidebar-nav > ul > *').clone();
        uls.addClass('visible-xs');
        $('#main-menu').append(uls.clone());
    });
</script>

<div class="navbar navbar-default" role="navigation">
    <div class="navbar-header">
        <a class="" href="index.html"><span class="navbar-brand"><span class="fa fa-paper-plane"></span> Aircraft</span></a>
    </div>
    <div class="navbar-collapse collapse" style="height: 1px;"></div>
</div>

<div class="dialog">
    <div class="panel panel-default">
        <p class="panel-heading no-collapse">Sign In</p>
        <div class="panel-body">
            <form action="${ctx}/loginSubmit">
                <div class="form-group">
                    <label>Username</label>
                    <input name="username" type="text" class="form-control span12">
                </div>
                <div class="form-group">
                    <label>Password</label>
                    <input name="password" type="password" class="form-control span12">
                </div>
                <input type="submit" class="btn btn-primary pull-right" value="Sign In">
                <div class="clearfix"></div>
            </form>
        </div>
    </div>
    <p><a href="reset-password.html">Account Register</a></p>
</div>
</body>
</html>